<template>
  <div>
    <h2>儿子</h2>
  </div>
</template>

<script>
export default {
  setup () {
    const v3test = () => {
      console.log(456)
    }
    return { v3test }
  },
  methods: {
    v2test () {
      console.log(123)
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
